/**
 * Copyright (c) 2013-2016, Jieven. All rights reserved.
 *
 * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt
 * To use it on other terms please contact us at 1623736450@qq.com
 */
package com.eova.core.button;

import com.eova.aop.Aop上下文;
import com.eova.aop.元对象拦截器;
import com.eova.model.RoleBtn;

public class 按钮拦截器 extends 元对象拦截器 {

	@Override
	public String 事务内删除前置任务(Aop上下文 ac) throws Exception {
		int id = ac.当前操作对象.getInt("id");

		// 删除菜单按钮关联权限
		RoleBtn.dao.deleteByBid(id);

		return null;
	}

}